package com.creditease.rss.util;

import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

import com.creditease.rss.model.RssItemModel;

public class CacheMgr {
	private CacheMgr() {
	}

	private static Map<String, List<RssItemModel>> maps = new ConcurrentHashMap<String, List<RssItemModel>>();

	public static void put(String key, List<RssItemModel> res) {
		maps.put(key, res);
	}

	public static List<RssItemModel> get(String key) {

		return maps.get(key);
	}
}
